﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CommerceOne.Domains.Entities;

namespace CommerceOne.Domains.Repositories
{
    public interface IProductRepository
    {
        IQueryable<Product> GetAll();

        int GetTotalItem();

        List<Product> GetItem(int page, int pageSize);

        int GetTotalByBrand(int brandId);

        List<Product> GetTotalBrand(int brandId, int page, int pageSize);

        int GetTotalByDepartment(int departmentId);

        List<Product> GetTotalDepartment(int departmentId, int page, int pageSize);

        Product GetProduct(int productId);
    }
}
